package com.twu.biblioteca;

import java.util.Scanner;

public class BibliotecaApp {

    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);
        Collection collection = new Collection();
        UserLog userLog = new UserLog();

        Option[] options = {new OptionViewBooks(collection),
                            new OptionReserve(collection, scanner),
                            new OptionMembership(),
                            new OptionViewMovies(collection),
                            new OptionLogIn(userLog, scanner)};

        (new Menu(scanner, collection, userLog, options)).run();

    }
}
